local require = require
local miscchecker  = require("modules.business_common.auth.misc")
local md5checker   = require("modules.business_common.auth.md5")
local whitelist    = require("modules.business_common.auth.white_list")
local request_once = require("modules.business_common.auth.request_once")
local comm_checker = require("modules.commhm.auth_comm_checker")

return {
    _VERSION = "0.0.1",

    -- 根据版本选择参数校验方式
    check_md5_by_version = md5checker.check_by_version,
    -- 全参数MD5校验
    check_uri_args       = md5checker.check_uri_args,
    -- 简易md5校验
    check_token          = md5checker.check_token,
    -- 一次性有效请求
    request_once         = request_once.check,
    -- 默认的白名单校验
    check_white          = whitelist.check,
    -- uin合法性
    uin_safe             = miscchecker.check_uin_safe,
    --检测uri中参数的版本,白名单
    check_uri_conditions = comm_checker.check_apiid_ver_conditions,
    -- 通用token算法
    make_comm_token           = comm_checker.gen_comm_inner_token,
}